package com.lanou.dormitory.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lanou.dormitory.dao.RoleMenuMapper;

@Service
public class RoleMenuServiceImpl implements RoleMenuService{

	@Autowired
	private RoleMenuMapper roleMenuMapper;
	
	@Override
	public List<Integer> getMenuIdsByRoleId(Long roleId) {
		
		return roleMenuMapper.getMenuIdsByRoleId(roleId);
	}

}
